package com.zzh.structuredeployment.bean;


/**
 * @author zhangzhihao
 * @email zhangzhihao@gongjiangren.net
 * @date 2021-01-27
 * @desc
 */
public class ReleaseBean  {

    private boolean isAdd = false;
    public String path;
    public String name;
    public long time;
    public int mediaType;
    public long size;
    public int id;
    public String parentDir;
    public long duration;
    public int viewType;

    public String getUrl() {
        return path;
    }


    public String getName() {
        return name;
    }

    public int getId() {
        return id;
    }

    public int getMediaType() {
        return mediaType;
    }

    public long getDuration() {
        return duration;
    }

    public long getSize() {
        return size;
    }

    public long getTime() {
        return time;
    }

    public String getParentDir() {
        return parentDir;
    }

    public String getPath() {
        return path;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public void setMediaType(int mediaType) {
        this.mediaType = mediaType;
    }

    public void setParentDir(String parentDir) {
        this.parentDir = parentDir;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public boolean isAdd() {
        return isAdd;
    }

    public void setAdd(boolean add) {
        isAdd = add;
    }

    public void setViewType(int viewType) {
        this.viewType = viewType;
    }

    public int getViewType() {
        return viewType;
    }

    @Override
    public String toString() {
        return "ReleaseBean{" +
                "isAdd=" + isAdd +
                ", path='" + path + '\'' +
                ", name='" + name + '\'' +
                ", time=" + time +
                ", mediaType=" + mediaType +
                ", size=" + size +
                ", id=" + id +
                ", parentDir='" + parentDir + '\'' +
                ", duration=" + duration +
                '}';
    }
}